<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>业务参数</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="-1881335101">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/manage/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/manage/js/jquery-1.7.1.min.js"></script>

	<script type="text/javascript" src="/manage/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/manage//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/manage/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/manage/css/define.css"/>
	
	
	<link href="/manage/js/viewer/css/viewer.min.css" rel="stylesheet" type="text/css" />
	<script src="/manage/js/viewer/js/viewer-jquery.min.js"></script>
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-1881335101";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/manage/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/manage/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("setting.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		THIS.setData(protocol.data);
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		if($("#psTk").size()>0){
			 //构造编辑页parameter.psTk为html编辑控件
			 KE.init({
				id : "psTk",
				width : "750px",height : "300px", 
				imageUploadJson : window["uploadUrl"]
			 });
			 KE.create("psTk");
		 }
		if($("#syTk").size()>0){
			 //构造编辑页parameter.syTk为html编辑控件
			 KE.init({
				id : "syTk",
				width : "750px",height : "300px", 
				imageUploadJson : window["uploadUrl"]
			 });
			 KE.create("syTk");
		 }
		if($("#pChongZc").size()>0){
			 //构造编辑页parameter.pChongZc为html编辑控件
			 KE.init({
				id : "pChongZc",
				width : "750px",height : "300px", 
				imageUploadJson : window["uploadUrl"]
			 });
			 KE.create("pChongZc");
		 }
		 
	$("#settingForm").form({
		"":function(){}
		,"parameter.id":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"parameter.validity":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "红包有效期不能为空";
			}
				if(el.value.length>10)
					return "数字太大了";
					 var pattern = /^-?(0|[1-9][0-9]*)?$/;
					 if(!pattern.test(el.value))
						return "请输入正确格式的数字";			
		}
		,"parameter.redTitle":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "红包分享标题不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "红包分享标题最大长度为32个字符";
		}
		,"parameter.redImg":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "红包分享图不能为空";
			}
		}
		,"parameter.fullFee":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "满减配送费输入格式错误";
		}
		,"parameter.homeRotary":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"parameter.listMap":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"parameter.updateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"parameter.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"parameter.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
		,"parameter.pPtJj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "普通间接佣金输入格式错误";
		}
		,"parameter.pPtZj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "普通直接佣金输入格式错误";
		}
		,"parameter.pDlJj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "代理间接佣金输入格式错误";
		}
		,"parameter.pDlZj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "代理直接佣金输入格式错误";
		}
		,"parameter.pPsYj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "配送商佣金输入格式错误";
		}
		,"parameter.pHhrYj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "合伙人佣金输入格式错误";
		}
		,"parameter.pJxshYj":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "经销商佣金输入格式错误";
		}
		,"parameter.psTk":function(el){
			if($("#psTk").get(0))
			 	KE.sync("psTk");		 
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "配送商服务条款不能为空";
			}
		}
		,"parameter.syTk":function(el){
			if($("#syTk").get(0))
			 	KE.sync("syTk");		 
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "收益条款不能为空";
			}
		}
		,"parameter.zfBt":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "转发标题不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "转发标题最大长度为32个字符";
		}
		,"parameter.zfFm":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "转发封面不能为空";
			}
		}
		,"parameter.lqHbImg":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "领红包页图片不能为空";
			}
		}
		,"parameter.yjYqImg":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "有奖邀请图片不能为空";
			}
		}
		,"parameter.agentTopImg":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "代理申请图片不能为空";
			}
		}
		,"parameter.hb":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "推广海报不能为空";
			}
		}
		,"parameter.merchant":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"parameter.pChongZc":function(el){
			if($("#pChongZc").get(0))
			 	KE.sync("pChongZc");		 
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>





<form lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'}}" class="form editform edittype_{{edittype}}" ref="Parameter" id="settingForm" name="settingForm" target="jsoniframe" action="setting.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写业务参数相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
					
				
				
	{{lz.set("id_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"id"))))}}
	{{lz.set("id_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{parameter$id}}">
				{{parameter$id}}
			</lz:block>
			<lz:block lz:if="{{!parameter$id}}">
			<input type="hidden" value="{{lz.htm(parameter.id)}}" name="parameter.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{parameter.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.id$||parameter.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
					
				
				
	{{lz.set("validity_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"validity"))))}}
	{{lz.set("validity_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$validity}}
	<dl lz:if="{{validity_editable||validity_readonly}}" class="validity  " major  ref="validity">
		<dt>红包有效期:</dt>
		<dd lz:if="{{validity_editable}}" input="number">
			<lz:block lz:if="{{parameter$validity}}">
				{{parameter$validity}}
			</lz:block>
			<lz:block lz:if="{{!parameter$validity}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.validity" id="validity"  value="{{lz.htm(parameter.validity)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>为正整数，已小时为单位  1代表1小时后红包过期</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{validity_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="validity">{{parameter.validity}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.validity$||parameter.validity)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$validity}}
					
				
				
	{{lz.set("redTitle_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"redTitle"))))}}
	{{lz.set("redTitle_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$redTitle}}
	<dl lz:if="{{redTitle_editable||redTitle_readonly}}" class="redTitle  " major  ref="redTitle">
		<dt>红包分享标题:</dt>
		<dd lz:if="{{redTitle_editable}}" input="text">
			<lz:block lz:if="{{parameter$redTitle}}">
				{{parameter$redTitle}}
			</lz:block>
			<lz:block lz:if="{{!parameter$redTitle}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="parameter.redTitle" id="redTitle"  value="{{lz.htm(parameter.redTitle)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入业务参数的红包分享标题</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{redTitle_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="redTitle">{{parameter.redTitle}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.redTitle$||parameter.redTitle)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$redTitle}}
					
				
				
	{{lz.set("redImg_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"redImg"))))}}
	{{lz.set("redImg_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$redImg}}
	<dl lz:if="{{redImg_editable||redImg_readonly}}" class="redImg   wider" major  ref="redImg">
		<dt>红包分享图:</dt>
		<dd lz:if="{{redImg_editable}}" input="image">
			<lz:block lz:if="{{parameter$redImg}}">
				{{parameter$redImg}}
			</lz:block>
			<lz:block lz:if="{{!parameter$redImg}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.redImg" id="redImg"  value="{{lz.htm(parameter.redImg)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#redImg').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#redImg').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#redImg').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请上传业务参数的红包分享图</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{redImg_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="redImg">{{parameter.redImg}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.redImg}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.redImg)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$redImg}}
					
				
				
	{{lz.set("fullFee_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"fullFee"))))}}
	{{lz.set("fullFee_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$fullFee}}
	<dl lz:if="{{fullFee_editable||fullFee_readonly}}" class="fullFee  " major  ref="fullFee">
		<dt>满减配送费:</dt>
		<dd lz:if="{{fullFee_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$fullFee}}">
				{{parameter$fullFee}}
			</lz:block>
			<lz:block lz:if="{{!parameter$fullFee}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.fullFee" id="fullFee"  value="{{lz.htm(parameter.fullFee)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入业务参数的满减配送费</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{fullFee_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="fullFee">{{parameter.fullFee}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.fullFee$||parameter.fullFee)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$fullFee}}
					
				
				
	{{lz.set("homeRotary_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"homeRotary"))))}}
	{{lz.set("homeRotary_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$homeRotary}}
	<dl lz:if="{{homeRotary_editable||homeRotary_readonly}}" class="homeRotary   wider" major  ref="homeRotary">
		<dt>首页轮播图:</dt>
		<dd lz:if="{{homeRotary_editable}}" input="imagelist">
			<lz:block lz:if="{{parameter$homeRotary}}">
				{{parameter$homeRotary}}
			</lz:block>
			<lz:block lz:if="{{!parameter$homeRotary}}">
		    <div id="homeRotary" class="wide input imagelist">
			<div lz:for="{{parameter.homeRotary.split(',')}}">{{item}}<input type="hidden" name="parameter.homeRotary" value="{{item}}"/><span onclick="$(this).parent().remove();">x</span></div>
			<button type="button" onclick="$.upload({type:'img',count:10,callback:function(url){if(url)$('#homeRotary').append('<div><a href=&quot;'+url+'&quot; target=&quot;_blank&quot;><img src=&quot;'+url+'&quot;/><input type=&quot;hidden&quot; name=&quot;parameter.homeRotary&quot; value=&quot;'+url+'&quot;/></a><span onclick=&quot;$(this).parent().remove();&quot;>x</span></div>');}})" class="button def-add-button">添加</button>
			</div>			
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>建议最多上传3张图</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{homeRotary_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="homeRotary">{{parameter.homeRotary}}</textarea>
		 		<span>
		 	<ul class="imager" style="list-style:none;margin:0px;padding:0px;">
				<li lz:for="{{lz.split(parameter.homeRotary,',')}}" style="float:left;">
					<img src="{{item}}" style="width:100px;height:80px;margin:10px;"/>
				</li>
				<div style="clear:both;"></div>
			</ul>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$homeRotary}}
					
				
				
	{{lz.set("listMap_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"listMap"))))}}
	{{lz.set("listMap_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$listMap}}
	<dl lz:if="{{listMap_editable||listMap_readonly}}" class="listMap   wider" major  ref="listMap">
		<dt>优品列表轮播图:</dt>
		<dd lz:if="{{listMap_editable}}" input="imagelist">
			<lz:block lz:if="{{parameter$listMap}}">
				{{parameter$listMap}}
			</lz:block>
			<lz:block lz:if="{{!parameter$listMap}}">
		    <div id="listMap" class="wide input imagelist">
			<div lz:for="{{parameter.listMap.split(',')}}">{{item}}<input type="hidden" name="parameter.listMap" value="{{item}}"/><span onclick="$(this).parent().remove();">x</span></div>
			<button type="button" onclick="$.upload({type:'img',count:10,callback:function(url){if(url)$('#listMap').append('<div><a href=&quot;'+url+'&quot; target=&quot;_blank&quot;><img src=&quot;'+url+'&quot;/><input type=&quot;hidden&quot; name=&quot;parameter.listMap&quot; value=&quot;'+url+'&quot;/></a><span onclick=&quot;$(this).parent().remove();&quot;>x</span></div>');}})" class="button def-add-button">添加</button>
			</div>			
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>建议最多上传3张图</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{listMap_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="listMap">{{parameter.listMap}}</textarea>
		 		<span>
		 	<ul class="imager" style="list-style:none;margin:0px;padding:0px;">
				<li lz:for="{{lz.split(parameter.listMap,',')}}" style="float:left;">
					<img src="{{item}}" style="width:100px;height:80px;margin:10px;"/>
				</li>
				<div style="clear:both;"></div>
			</ul>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$listMap}}
					
				
				
	{{lz.set("updateTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " major  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{parameter$updateTime}}">
				{{parameter$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!parameter$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="parameter.updateTime" id="updateTime"  value="{{parameter.updateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择业务参数的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{parameter.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.updateTime$||parameter.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
					
				
				
	{{lz.set("addTime_editable",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='any'&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{parameter$addTime}}">
				{{parameter$addTime}}
			</lz:block>
			<lz:block lz:if="{{!parameter$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="parameter.addTime" id="addTime"  value="{{parameter.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择业务参数的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{parameter.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.addTime$||parameter.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
					
				
				
	{{lz.set("status_editable",(edittype=='insert'&&false)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{parameter$status}}">
				{{parameter$status}}
			</lz:block>
			<lz:block lz:if="{{!parameter$status}}">
		 	<select class="narrow" id="status" name="parameter.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{parameter.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{parameter.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择业务参数的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{parameter.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.status$||parameter.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
					
				
				
	{{lz.set("pPtJj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pPtJj"))))}}
	{{lz.set("pPtJj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pPtJj}}
	<dl lz:if="{{pPtJj_editable||pPtJj_readonly}}" class="pPtJj  " major  ref="pPtJj">
		<dt>普通间接佣金:</dt>
		<dd lz:if="{{pPtJj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pPtJj}}">
				{{parameter$pPtJj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pPtJj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pPtJj" id="pPtJj"  value="{{lz.htm(parameter.pPtJj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pPtJj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pPtJj">{{parameter.pPtJj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pPtJj$||parameter.pPtJj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pPtJj}}
					
				
				
	{{lz.set("pPtZj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pPtZj"))))}}
	{{lz.set("pPtZj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pPtZj}}
	<dl lz:if="{{pPtZj_editable||pPtZj_readonly}}" class="pPtZj  " major  ref="pPtZj">
		<dt>普通直接佣金:</dt>
		<dd lz:if="{{pPtZj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pPtZj}}">
				{{parameter$pPtZj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pPtZj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pPtZj" id="pPtZj"  value="{{lz.htm(parameter.pPtZj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pPtZj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pPtZj">{{parameter.pPtZj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pPtZj$||parameter.pPtZj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pPtZj}}
					
				
				
	{{lz.set("pDlJj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pDlJj"))))}}
	{{lz.set("pDlJj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pDlJj}}
	<dl lz:if="{{pDlJj_editable||pDlJj_readonly}}" class="pDlJj  " major  ref="pDlJj">
		<dt>代理间接佣金:</dt>
		<dd lz:if="{{pDlJj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pDlJj}}">
				{{parameter$pDlJj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pDlJj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pDlJj" id="pDlJj"  value="{{lz.htm(parameter.pDlJj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pDlJj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pDlJj">{{parameter.pDlJj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pDlJj$||parameter.pDlJj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pDlJj}}
					
				
				
	{{lz.set("pDlZj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pDlZj"))))}}
	{{lz.set("pDlZj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pDlZj}}
	<dl lz:if="{{pDlZj_editable||pDlZj_readonly}}" class="pDlZj  " major  ref="pDlZj">
		<dt>代理直接佣金:</dt>
		<dd lz:if="{{pDlZj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pDlZj}}">
				{{parameter$pDlZj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pDlZj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pDlZj" id="pDlZj"  value="{{lz.htm(parameter.pDlZj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pDlZj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pDlZj">{{parameter.pDlZj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pDlZj$||parameter.pDlZj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pDlZj}}
					
				
				
	{{lz.set("pPsYj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pPsYj"))))}}
	{{lz.set("pPsYj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pPsYj}}
	<dl lz:if="{{pPsYj_editable||pPsYj_readonly}}" class="pPsYj  " major  ref="pPsYj">
		<dt>配送商佣金:</dt>
		<dd lz:if="{{pPsYj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pPsYj}}">
				{{parameter$pPsYj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pPsYj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pPsYj" id="pPsYj"  value="{{lz.htm(parameter.pPsYj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pPsYj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pPsYj">{{parameter.pPsYj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pPsYj$||parameter.pPsYj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pPsYj}}
					
				
				
	{{lz.set("pHhrYj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pHhrYj"))))}}
	{{lz.set("pHhrYj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pHhrYj}}
	<dl lz:if="{{pHhrYj_editable||pHhrYj_readonly}}" class="pHhrYj  " major  ref="pHhrYj">
		<dt>合伙人佣金:</dt>
		<dd lz:if="{{pHhrYj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pHhrYj}}">
				{{parameter$pHhrYj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pHhrYj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pHhrYj" id="pHhrYj"  value="{{lz.htm(parameter.pHhrYj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pHhrYj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pHhrYj">{{parameter.pHhrYj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pHhrYj$||parameter.pHhrYj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pHhrYj}}
					
				
				
	{{lz.set("pJxshYj_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pJxshYj"))))}}
	{{lz.set("pJxshYj_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pJxshYj}}
	<dl lz:if="{{pJxshYj_editable||pJxshYj_readonly}}" class="pJxshYj  " major  ref="pJxshYj">
		<dt>经销商佣金:</dt>
		<dd lz:if="{{pJxshYj_editable}}" input="menoy">
			<lz:block lz:if="{{parameter$pJxshYj}}">
				{{parameter$pJxshYj}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pJxshYj}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="parameter.pJxshYj" id="pJxshYj"  value="{{lz.htm(parameter.pJxshYj)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>佣金为百分比，1为百分之百，0.1为百分之十,0.01为百分之一，不能是0.001～9,也不能大于等于1.</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pJxshYj_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="pJxshYj">{{parameter.pJxshYj}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.pJxshYj$||parameter.pJxshYj)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pJxshYj}}
					
				
				
	{{lz.set("psTk_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"psTk"))))}}
	{{lz.set("psTk_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$psTk}}
	<dl lz:if="{{psTk_editable||psTk_readonly}}" class="psTk   wider" major  ref="psTk">
		<dt>配送商服务条款:</dt>
		<dd lz:if="{{psTk_editable}}" input="html">
			<lz:block lz:if="{{parameter$psTk}}">
				{{parameter$psTk}}
			</lz:block>
			<lz:block lz:if="{{!parameter$psTk}}">
		    <textarea class="input wide html"  id="psTk" name="parameter.psTk" style="height:300px;visibility:hidden;">{{parameter.psTk}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入业务参数的配送商服务条款</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{psTk_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(parameter.psTk$||parameter.psTk)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$psTk}}
					
				
				
	{{lz.set("syTk_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"syTk"))))}}
	{{lz.set("syTk_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$syTk}}
	<dl lz:if="{{syTk_editable||syTk_readonly}}" class="syTk   wider" major  ref="syTk">
		<dt>收益条款:</dt>
		<dd lz:if="{{syTk_editable}}" input="html">
			<lz:block lz:if="{{parameter$syTk}}">
				{{parameter$syTk}}
			</lz:block>
			<lz:block lz:if="{{!parameter$syTk}}">
		    <textarea class="input wide html"  id="syTk" name="parameter.syTk" style="height:300px;visibility:hidden;">{{parameter.syTk}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入业务参数的收益条款</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{syTk_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(parameter.syTk$||parameter.syTk)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$syTk}}
					
				
				
	{{lz.set("zfBt_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"zfBt"))))}}
	{{lz.set("zfBt_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$zfBt}}
	<dl lz:if="{{zfBt_editable||zfBt_readonly}}" class="zfBt  " major  ref="zfBt">
		<dt>转发标题:</dt>
		<dd lz:if="{{zfBt_editable}}" input="text">
			<lz:block lz:if="{{parameter$zfBt}}">
				{{parameter$zfBt}}
			</lz:block>
			<lz:block lz:if="{{!parameter$zfBt}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="parameter.zfBt" id="zfBt"  value="{{lz.htm(parameter.zfBt)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入业务参数的转发标题</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{zfBt_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="zfBt">{{parameter.zfBt}}</textarea>
		 		<span>
		 	
			 {{lz.html(parameter.zfBt$||parameter.zfBt)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$zfBt}}
					
				
				
	{{lz.set("zfFm_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"zfFm"))))}}
	{{lz.set("zfFm_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$zfFm}}
	<dl lz:if="{{zfFm_editable||zfFm_readonly}}" class="zfFm   wider" major  ref="zfFm">
		<dt>转发封面:</dt>
		<dd lz:if="{{zfFm_editable}}" input="image">
			<lz:block lz:if="{{parameter$zfFm}}">
				{{parameter$zfFm}}
			</lz:block>
			<lz:block lz:if="{{!parameter$zfFm}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.zfFm" id="zfFm"  value="{{lz.htm(parameter.zfFm)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#zfFm').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#zfFm').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#zfFm').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请上传业务参数的转发封面</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{zfFm_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="zfFm">{{parameter.zfFm}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.zfFm}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.zfFm)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$zfFm}}
					
				
				
	{{lz.set("lqHbImg_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"lqHbImg"))))}}
	{{lz.set("lqHbImg_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$lqHbImg}}
	<dl lz:if="{{lqHbImg_editable||lqHbImg_readonly}}" class="lqHbImg   wider" major  ref="lqHbImg">
		<dt>领红包页图片:</dt>
		<dd lz:if="{{lqHbImg_editable}}" input="image">
			<lz:block lz:if="{{parameter$lqHbImg}}">
				{{parameter$lqHbImg}}
			</lz:block>
			<lz:block lz:if="{{!parameter$lqHbImg}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.lqHbImg" id="lqHbImg"  value="{{lz.htm(parameter.lqHbImg)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#lqHbImg').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#lqHbImg').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#lqHbImg').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>领红包页图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{lqHbImg_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="lqHbImg">{{parameter.lqHbImg}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.lqHbImg}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.lqHbImg)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$lqHbImg}}
					
				
				
	{{lz.set("yjYqImg_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"yjYqImg"))))}}
	{{lz.set("yjYqImg_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$yjYqImg}}
	<dl lz:if="{{yjYqImg_editable||yjYqImg_readonly}}" class="yjYqImg   wider" major  ref="yjYqImg">
		<dt>有奖邀请图片:</dt>
		<dd lz:if="{{yjYqImg_editable}}" input="image">
			<lz:block lz:if="{{parameter$yjYqImg}}">
				{{parameter$yjYqImg}}
			</lz:block>
			<lz:block lz:if="{{!parameter$yjYqImg}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.yjYqImg" id="yjYqImg"  value="{{lz.htm(parameter.yjYqImg)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#yjYqImg').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#yjYqImg').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#yjYqImg').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>首页底部有奖邀请页图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{yjYqImg_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="yjYqImg">{{parameter.yjYqImg}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.yjYqImg}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.yjYqImg)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$yjYqImg}}
					
				
				
	{{lz.set("agentTopImg_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"agentTopImg"))))}}
	{{lz.set("agentTopImg_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$agentTopImg}}
	<dl lz:if="{{agentTopImg_editable||agentTopImg_readonly}}" class="agentTopImg   wider" major  ref="agentTopImg">
		<dt>代理申请图片:</dt>
		<dd lz:if="{{agentTopImg_editable}}" input="image">
			<lz:block lz:if="{{parameter$agentTopImg}}">
				{{parameter$agentTopImg}}
			</lz:block>
			<lz:block lz:if="{{!parameter$agentTopImg}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.agentTopImg" id="agentTopImg"  value="{{lz.htm(parameter.agentTopImg)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#agentTopImg').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#agentTopImg').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#agentTopImg').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请上传业务参数的代理申请图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{agentTopImg_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="agentTopImg">{{parameter.agentTopImg}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.agentTopImg}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.agentTopImg)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$agentTopImg}}
					
				
				
	{{lz.set("hb_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"hb"))))}}
	{{lz.set("hb_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$hb}}
	<dl lz:if="{{hb_editable||hb_readonly}}" class="hb   wider" major  ref="hb">
		<dt>推广海报:</dt>
		<dd lz:if="{{hb_editable}}" input="image">
			<lz:block lz:if="{{parameter$hb}}">
				{{parameter$hb}}
			</lz:block>
			<lz:block lz:if="{{!parameter$hb}}">
		    <input type="text" class="input" maxlength="128" size="32" name="parameter.hb" id="hb"  value="{{lz.htm(parameter.hb)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#hb').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#hb').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#hb').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请上传业务参数的推广海报</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{hb_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="hb">{{parameter.hb}}</textarea>
		 		<span>
		 	<img lz:if="{{parameter.hb}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(parameter.hb)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$hb}}
					
				
						
				
				
	{{lz.set("pChongZc_editable",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='any'&&(lz.idin(fields,"pChongZc"))))}}
	{{lz.set("pChongZc_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$pChongZc}}
	<dl lz:if="{{pChongZc_editable||pChongZc_readonly}}" class="ribs pChongZc   wider" minor  ref="pChongZc">
		<dt>充赠奖励政策:</dt>
		<dd lz:if="{{pChongZc_editable}}" input="html">
			<lz:block lz:if="{{parameter$pChongZc}}">
				{{parameter$pChongZc}}
			</lz:block>
			<lz:block lz:if="{{!parameter$pChongZc}}">
		    <textarea class="input wide html"  id="pChongZc" name="parameter.pChongZc" style="height:300px;visibility:hidden;">{{parameter.pChongZc}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入业务参数的充赠奖励政策</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{pChongZc_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(parameter.pChongZc$||parameter.pChongZc)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$pChongZc}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{parameter.id}}" name="parameter.id" id="id" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'}}">
				<button class="button" type="submit">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/setting/setting.edit.html?edittype=update&id={{parameter.id}}"'>
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					修改&nbsp;&nbsp;</button>
				
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
					&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>





 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>

	$(function(){
		$('.imager').viewer({
			movable:true,navbar:false
		});
	});

</script>
</html>